#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main() {
    int a, b, c;
    scanf("%d %d %d", &a, &b, &c);
    if (a < b)
    {
        a = b;
    }
    if (a < c)
    {
        a = c;
    }
    printf("%d", a);
    return 0;
}